//
//  LRecordCell.m
//  TouchDemo
//
//  Created by 李明明 on 16/1/19.
//  Copyright © 2016年 李明明. All rights reserved.
//

#import "LRecordCell.h"

@interface LRecordCell ()
@property (nonatomic, weak) IBOutlet UILabel *leftLab;
@property (nonatomic, weak) IBOutlet UILabel *rightLab;
@property (nonatomic, weak) IBOutlet UILabel *addressLab;
@end

@implementation LRecordCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
- (void)loadInfo:(NSString *)str {
    NSArray *arr = [str componentsSeparatedByString:@" "];
    self.leftLab.text = arr[0];
    self.rightLab.text = arr[1];
    if (arr.count > 2) {
        self.addressLab.text = arr[2];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
